import React, { Component } from 'react';
import { Button } from 'antd';
import axios from '../axios/axios'
import './test.scss'
class text extends Component {
    constructor(props) {
        super(props)
        this.state = {}
      }
      componentWillMount() {
          axios.get('small/commodity/v1/bannerShow').then(res=>{
              console.log(res);
          })
    }
    
    
    render() {
        return (
            <div>
                <Button type="primary">Primary Button</Button>
    <Button>Default Button</Button>
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
    </ul>
            </div>
        );
    }
}

export default text;